package com.ysf.buddy.config;
/**
 *
 * @author msi
 */

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
    public class Knife4jConfig {
        @Bean
        public OpenAPI openAPI() {
            return new OpenAPI().info(new Info()
                    .title("老余伙伴匹配中心")
                    .description("伙伴匹配中心接口文档")
                    .contact(new Contact().name("laoyu"))
                    .version("1.0.0"));
        }

    }